//
//  XY_AdvertisementView_CollectionView.h
//  UICollectionView-封装轮播图
//
//  Created by 岁变 on 16/8/3.
//  Copyright © 2016年 岁变. All rights reserved.
//

#import <UIKit/UIKit.h>
@class XY_AdvertisementView_CollectionView;
@protocol XY_Advertisement_CollectionViewDelegate <NSObject>

- (void)didClickImageAtIndex:(NSInteger)index scrollView:(XY_AdvertisementView_CollectionView *)scrollView;

@end

@interface XY_AdvertisementView_CollectionView : UIView

@property (nonatomic, weak) id <XY_Advertisement_CollectionViewDelegate> delegate;
@property (nonatomic, strong) NSArray *arrURLStr;
@property (nonatomic, strong) UICollectionView *collectionView;
@property (nonatomic, assign) NSTimeInterval interval;//时间间隔

- (void)handleDataSoutrce:(NSArray *)arr  collectionView:(UICollectionView *)collectionView;

@end


@interface CustomCollectionCell : UICollectionViewCell
@property (nonatomic, strong) UIImageView *picImageView;
@property (nonatomic, assign) NSInteger index;

@end

